﻿namespace Digitalmes.Application.Sys.Menus.Commands;

internal sealed class CreateMenuCommandValidator : AbstractValidator<CreateMenuCommand>
{
    public CreateMenuCommandValidator()
    {
        RuleFor(v => v.Menu.Title).MaximumLength(32).NotEmpty();
    }
}
